<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code">
	<x:out select="$xmlData/data/proposal/grant_code" />
</c:set>
<c:set var="sub_grant_code">
	<x:out select="$xmlData/data/proposal/sub_grant_code" />
</c:set>


<div class="t_bar">资金信息（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="budget1"
	cellspacing="1">
	<tr align="center" class="li_2">
		<td colspan="2">项目计划投资总额</td>
		<td colspan="2">其中：已完成投资</td>
		<td colspan="2">计划新增投资</td>
		<td colspan="2">申请金额</td>
	</tr>
	<tr align="center" class="li_1">
		<td colspan="2">&nbsp;<x:out select="$xmlData/data/budgets/input_total" /></td>

		<td colspan="2">&nbsp;<x:out select="$xmlData/data/budgets/already_input_total" /></td>

		<td colspan="2">&nbsp;<x:out select="$xmlData/data/budgets/add_research" /></td>

		<td colspan="2">&nbsp;<x:out select="$xmlData/data/budgets/apply_money" /></td>
	</tr>
	</table>
	<br/>
	<div class="t_bar">已完成投资来源（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="budget1"
	cellspacing="1">
	<%-- <tr>
		<td align="center">新增投入资金来源</td>
		<td colspan="7">&nbsp;<x:out select="$xmlData/data/budgets/source_total" /></td>
	</tr> --%>
	<tr align="center" class="li_2">
		<td colspan="2" width="25%">中方单位已投入资金</td>
		<td rowspan="2" width="12.5%">外方已投入资金（或无形资产投入）</td>
		<td colspan="4" width="50%">已获政府资助</td>
		<td rowspan="2" width="12.5%">其他资金</td>
	</tr>
	<tr align="center" class="li_2">
	    <td width="12.5%">自有资金</td>
	    <td width="12.5%">银行贷款</td>
		<td width="12.5%">国家</td>
		<td width="12.5%">省级</td>
		<td width="12.5%">市级</td>
		<td width="12.5%">区级</td>
	</tr>
	<tr align="center" class="li_1">
		<td>&nbsp;<x:out select="$xmlData/data/budgets/own_fund_over" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/bank_fund_over" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/invest_capital_over" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/country_fund_over" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/provincial_fund_over" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/city_fund_over" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budgets/area_fund_over" /></td>
		<td colspan="2">&nbsp;<x:out select="$xmlData/data/budgets/other_fund_over" /></td>
	</tr>

</table>
	<br/>
	<div class="t_bar">计划新增投资来源（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="budget1"
	cellspacing="1">
	<tr align="center" class="li_2">
		<td colspan="2" width="25%">中方单位新增投入资金</td>
		<td rowspan="2" width="12.5%">外方单位新增投入资金（或无形资产投入）</td>
		<td colspan="4" width="50%">申请政府资助</td>
		<td rowspan="2" width="12.5%">其他资金</td>
	</tr>
	<tr align="center" class="li_2">
	    <td width="12.5%">自有资金</td>
	    <td width="12.5%">银行贷款</td>
		<td width="12.5%">国家</td>
		<td width="12.5%">省级</td>
		<td width="12.5%">市级</td>
		<td width="12.5%">区级</td>
	</tr>
	<tr align="center" class="li_1">
		<td>&nbsp;<x:out select="$xmlData/data/budgets/own_fund" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/bank_fund" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/invest_capital" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/country_fund" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/provincial_fund" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/city_fund" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budgets/area_fund" /></td>
		<td colspan="2">&nbsp;<x:out select="$xmlData/data/budgets/other_fund" /></td>
	</tr>

</table>
<br/>
<div class="t_bar">计划新增投资支出（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1">

	<tr class="li_2">
		<td align="center" width="30%" rowspan="2">支出科目</td>
		<td class="TblHead" align="center" width="28%" colspan="2">新增投资支出</td>
		<td class="TblHead" align="center" width="28%" colspan="3" >分年度支出预算</td>
	</tr>
	<tr >
		<td class="TblHead" align="center" width="14%">总额</td>
		<td class="TblHead" align="center" width="14%">其中：申请资助资金</td>
		<td class="TblHead" align="center" width="14%" >${year}年</td>
		<td class="TblHead" align="center" width="14%" >${year+1}年</td>
		<td class="TblHead" align="center" width="14%" >${year+2}年</td>
	</tr>
	<x:forEach select="$xmlData/data/budget/invest_detail/invest" var="invest">
	<tr>
		<td align="left" style="padding-left: 20px">&nbsp;<x:out select="$invest/name"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_total"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_invest"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_allot"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_self"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_country"/></td>
	</tr>
</x:forEach>
	

</table>



